Case Study
Contents
Case Study#
As mentioned before, we will test kringing using observation of poor air quality due to wildfire smoke. We chose July 16, 2021, as there was a high concentration of smoke across a large portion of North America.
Load python modules
[1]:
import context
import numpy as np
import pandas as pd
import xarray as xr
import geopandas as gpd
import plotly.express as px
import matplotlib.image as mpimg
import plotly.figure_factory as ff
from context import data_dir
******************************
context imported. Front of path:
/Users/rodell/krige-smoke
/Users/rodell/krige-smoke/docs/source
******************************
through /Users/rodell/krige-smoke/docs/source/context.py -- pha
Satellite observations of wildfire smoke in the visible spectrum on July 16, 2021. - Also shown are the satellite hotspot detects (ie wildfire) in orange.
[2]:
img = mpimg.imread(str(data_dir) + "/obs/worldview.jpeg")
fig = px.imshow(img)
fig.update_layout(margin=dict(l=10, r=10, t=30, b=30))
fig.show()